package net.cyan.commons.log;

/**
 * 
 * @author camel
 * @date 2008-12-10
 */
public class LightLogPrintable implements Printable, PrintableProvider
{
    private LightLog log;

    public LightLogPrintable(LightLog log)
    {
        this.log = log;
    }

    public void println(String s)
    {
        log.error(s);
    }

    public Printable getPrintable()
    {
        return this;
    }

    public void flush()
    {
    }
}
